<?php
namespace app\index\controller;
use app\index\Controller;
use think\Loader;
use think\Session;
use think\Db;
class Index
{
    public function index()
    {
         return \think\Response::create(\think\Url::build('/admin'), 'redirect');
    }
	public function brand_list()
    {
        $rs=Db::name('brand')->where("isdelete=0 and status > 0")->limit(10)->select();
		echo json_encode($rs);
    }
}
